package top.infopub.model.cap;



import java.io.Serializable;
import java.util.List;

/**
 * @description:
 * @author: wk
 * @create: 2021-06-05 16:06
 **/

public class ResultModel implements Serializable {


    /**
     * head : {"version":"2.0","provider":"CWAP","req_code":"","rep_code":"200","rep_message":"","ts":1621474229581,"producer":""}
     * data : {"showDateEN":"20/05/2021 9:30","showDateCN":"2021-05-20 9:30"}
     * records : [{"termCode":"1Y","shibor":"3.85","shibIdUpDown":"---"},{"termCode":"5Y","shibor":"4.65","shibIdUpDown":"---"}]
     */

    private HeadBean head;
    private DataBean data;
    private List<RecordsBean> records;

    public HeadBean getHead() {
        return head;
    }

    public void setHead(HeadBean head) {
        this.head = head;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public List<RecordsBean> getRecords() {
        return records;
    }

    public void setRecords(List<RecordsBean> records) {
        this.records = records;
    }

    public static class HeadBean implements Serializable {
        /**
         * version : 2.0
         * provider : CWAP
         * req_code :
         * rep_code : 200
         * rep_message :
         * ts : 1621474229581
         * producer :
         */

        private String version;
        private String provider;
        private String req_code;
        private String rep_code;
        private String rep_message;
        private long ts;
        private String producer;

        public String getVersion() {
            return version;
        }

        public void setVersion(String version) {
            this.version = version;
        }

        public String getProvider() {
            return provider;
        }

        public void setProvider(String provider) {
            this.provider = provider;
        }

        public String getReq_code() {
            return req_code;
        }

        public void setReq_code(String req_code) {
            this.req_code = req_code;
        }

        public String getRep_code() {
            return rep_code;
        }

        public void setRep_code(String rep_code) {
            this.rep_code = rep_code;
        }

        public String getRep_message() {
            return rep_message;
        }

        public void setRep_message(String rep_message) {
            this.rep_message = rep_message;
        }

        public long getTs() {
            return ts;
        }

        public void setTs(long ts) {
            this.ts = ts;
        }

        public String getProducer() {
            return producer;
        }

        public void setProducer(String producer) {
            this.producer = producer;
        }
    }


    public static class DataBean implements Serializable {
        /**
         * showDateEN : 20/05/2021 9:30
         * showDateCN : 2021-05-20 9:30
         */

        private String showDateEN;
        private String showDateCN;

        public String getShowDateEN() {
            return showDateEN;
        }

        public void setShowDateEN(String showDateEN) {
            this.showDateEN = showDateEN;
        }

        public String getShowDateCN() {
            return showDateCN;
        }

        public void setShowDateCN(String showDateCN) {
            this.showDateCN = showDateCN;
        }
    }


    public static class RecordsBean implements Serializable {
        /**
         * termCode : 1Y
         * shibor : 3.85
         * shibIdUpDown : ---
         */

        private String termCode;
        private String shibor;
        private String shibIdUpDown;

        public String getTermCode() {
            return termCode;
        }

        public void setTermCode(String termCode) {
            this.termCode = termCode;
        }

        public String getShibor() {
            return shibor;
        }

        public void setShibor(String shibor) {
            this.shibor = shibor;
        }

        public String getShibIdUpDown() {
            return shibIdUpDown;
        }

        public void setShibIdUpDown(String shibIdUpDown) {
            this.shibIdUpDown = shibIdUpDown;
        }
    }
}